<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>查询学生</title>
    <link rel="stylesheet" href="../css/searchStudent.css">
</head>
<body>
    <h2>查询学生</h2>
    <div class="search">
        <span>姓名(模糊查询):</span>
        <input type="search" id="searchText">
        <span>性别:</span>
        <input type="radio" name="sex" value = "" checked>全部
        <input type="radio" name="sex" value="M">男
        <input type="radio" name="sex" value="F">女
        <button id="searchBtn">查询</button>
    </div>
    <table>
        <thead>
            <tr>
                <th>学号</th>
                <th>密码</th>
                <th>姓名</th>
                <th>性别</th>
                <th>年级编号</th>
                <th>电话</th>
                <th>地址</th>
                <th>生日</th>
                <th>邮箱</th>
                <th>身份证</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody id="tbody">
            
        </tbody>
        <tfoot>
            <td colspan="11">
                <button id="first">首页</button>
                <button id="prev">上一页</button>
                <span id="pageIndex">1</span>
                <span>/</span>
                <span id="totalPage">1</span>
                <button id="next">下一页</button>
                <button id="last">尾页</button>
            </td>
        </tfoot>
    </table>
    <!-- 修改学生信息 -->
    <div class="modify_box">
        <table>
            <thead>
                <tr>
                    <th colspan="2">修改学生信息</th>
                </tr>
            </thead>
            <tbody id="modify_tbody">
                <tr>
                    <td>学号</td>
                    <td>
                        <input type="text" id="studentNo_modify" value="" readonly>
                    </td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td>
                        <input type="password" id="loginPwd_modify"value="">
                    </td>
                </tr>
                <tr>
                    <td>姓名</td>
                    <td>
                        <input type="text" id="studentName_modify"value="">
                    </td>
                </tr>
                <tr>
                    <td>性别</td>
                    <td>
                        <input type="radio" name="sex" value="M" >男
                        <input type="radio" name="sex" value="F" >女
                    </td>
                </tr>
                <tr>
                    <td>年级编号</td>
                    <td>
                        <select name="" id="gradeId">
                            
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>电话</td>
                    <td>
                        <input type="text" id="phone_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td>地址</td>
                    <td>
                        <input type="text" id="address_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td>生日</td>
                    <td>
                        <input type="text" id="bornDate_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td>
                        <input type="text" id="email_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td>身份证</td>
                    <td>
                        <input type="text" id="identityCard_modify" value="">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <button id="modify_student_submit">修改</button>
                        <button id="modify_student_cancel">取消</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <!-- 根据学号查询指定学生信息 -->
    <div class="searchByNo_box">
        <span>学号查询:</span>
        <input type="search" id="searchTextByNo">
        <button id="searchByNoBtn">查询</button>
    </div>
    <table>
        <thead>
            <tr>
                <th>学号</th>
                <th>密码</th>
                <th>姓名</th>
                <th>性别</th>
                <th>年级编号</th>
                <th>电话</th>
                <th>地址</th>
                <th>生日</th>
                <th>邮箱</th>
                <th>身份证</th>
            </tr>
        </thead>
        <tbody id="searchByNo_tbody">
            
        </tbody>
    <script src="../js/searchStudent.js"></script>
</body>
</html>